package com.enjoyor.health.HGPT.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author enjoyor
 * @since 2023-12-13
 */
@TableName("watch_data")
@ApiModel(value = "WatchData对象", description = "")
public class WatchData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("data_id")
    private String dataId;

    private LocalDateTime time;

    private String data;

    private String type;

    private LocalDateTime storageTime;

    private String openId;

    private String userId;

    private String deviceId;

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public LocalDateTime getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(LocalDateTime storageTime) {
        this.storageTime = storageTime;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "WatchData{" +
            "dataId = " + dataId +
            ", time = " + time +
            ", data = " + data +
            ", storageTime = " + storageTime +
        "}";
    }
}
